package com.kaili.basic.pojo.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Data
@ApiModel(description = "系统日志查询Dto")
public class MdmSysLoginLogQueryDto {
    @ApiModelProperty(name = "page", value = "当前页数")
    private Integer page = 0;

    @ApiModelProperty(name = "pageSize", value = "每一页显示的条数")
    private Integer pageSize = 10;

    @ApiModelProperty("所属机构")
    private String organ;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("开始时间")
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss" )
    private Date startTime;

    @ApiModelProperty("结束时间")
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss" )
    private Date endTime;
}
